package cn.topevery.garden.entity.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 审批 DTO
 *
 * @author code-generate
 * @date 2022-02-21
 */
@Data
@ApiModel(value = "CheckApprovalDTO", description = "审批 DTO")
public class CheckApprovalDTO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /** 巡检上报id */
    @ApiModelProperty(value = "巡检上报id")
    private String approvalId;

    /** 0:巡检上报,1:企业申诉 */
    @ApiModelProperty(value = "0:巡检上报,1:企业申诉")
    private String type;

    /** 审批人ID */
    @ApiModelProperty(value = "审批人ID")
    private Integer userId;

    /** 审批人 */
    @ApiModelProperty(value = "审批人")
    private String userName;

    /** 审批时间 */
    @ApiModelProperty(value = "审批时间")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime date;

    /** 意见 */
    @ApiModelProperty(value = "意见")
    private String content;

    /** 审批结果 */
    @ApiModelProperty(value = "审批结果")
    private String result;



}
